package Car.Car;

public abstract class Car {
    private String name;
    private double price;
    private String typeName;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public abstract void setPassenger_size(int passenger_size);
    public abstract int getPassenger_size();
    public abstract void setCarry_size(double carry_size);
    public abstract double getCarry_size();
}
